package models

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Username string `json:"username"`
	Password string `json:"password"`
}
type Book struct {
	gorm.Model
	Title   string `json:"title"`
	Content string `json:"content"`
	Img     string `json:"img"`
	UserId  int    `json:"user_id"`
	User    User   `json:"user"`
}
